package com.navinfo.platform.trip.common.arithmetic.enums;

/**
 * 事件状态枚举.<br>
 * <br>
 * START 事件开始<br>
 * IN 事件中<br>
 * END 事件结束<br>
 * FORCE_END 事件强制结束<br>
 * OUT 事件外 <br>
 * @author 水哥
 */
public enum EventStatus {
    START(0, "事件开始"),
    IN(1, "事件中"),
    END(2, "事件结束"),
    FORCE_END(3, "事件强制结束"),
    OUT(4, "事件外");

    private int value;
    private String desc;
    EventStatus(int value, String desc){
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
